body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.front-notice {
    padding: 8px 20px;
    color: #555;
    font-size: 13px;
    background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.front-header {
    display: flex;
    height: 70px;
    line-height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.front-header-left {
    width: 320px;
    display: flex;
    align-items: center;
    padding-left: 30px;
}

.front-header-left img, .front-header-dropdown img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.front-header-left img:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.front-header-left .title {
    flex: 1;
    color: #fff;
    cursor: pointer;
    margin-left: 15px;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.front-header-left .title:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.front-header-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.front-header-right {
    width: 250px;
    padding-right: 20px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.front-header-dropdown {
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 8px 12px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.front-header-dropdown:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}
.el-dropdown-menu {
    width: 120px !important;
    text-align: center !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
}

.el-dropdown-menu__item {
    transition: all 0.3s ease !important;
}

.el-dropdown-menu__item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

/*页面具体样式自定义*/
.main-content {
    width: 85%;
    margin: 20px auto;
    padding: 0 10px;
}

/* ElementUI 样式覆盖 */
.el-menu.el-menu--horizontal {
    border: none !important;
    height: 69px;
    background: transparent !important;
}

.el-menu {
    background: transparent !important;
}

.el-menu-item.is-active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    height: 69px !important;
    border-radius: 8px !important;
    margin: 0 5px !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.el-menu-item {
    color: #fff !important;
    border: none !important;
    height: 69px !important;
    margin: 0 5px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.el-menu-item:not(.is-active):hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

/* 搜索区域样式 */
.search-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 20px;
}

.search-input {
    width: 280px;
}

.search-input .el-input__inner {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 25px !important;
    padding-left: 45px !important;
    height: 40px !important;
    line-height: 40px !important;
    color: #333 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.search-input .el-input__inner:focus {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}

.search-input .el-input__inner::placeholder {
    color: #999 !important;
}

.search-input .el-input__prefix {
    left: 15px !important;
}

.search-input .el-input__prefix .el-icon-search {
    color: #667eea !important;
    font-size: 16px !important;
}

.search-btn {
    height: 40px !important;
    padding: 0 20px !important;
    border-radius: 25px !important;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
}

.search-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4) !important;
    background: linear-gradient(135deg, #ff5252 0%, #d63031 100%) !important;
}

.search-btn:active {
    transform: translateY(0) !important;
}

.search-btn i {
    margin-right: 6px !important;
    font-size: 14px !important;
}

/* 登录注册按钮样式优化 */
.front-header-right .el-button {
    border-radius: 20px !important;
    padding: 8px 20px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    backdrop-filter: blur(10px) !important;
}

.front-header-right .el-button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .search-input {
        width: 240px;
    }
}

@media (max-width: 992px) {
    .search-section {
        margin: 0 10px;
    }
    
    .search-input {
        width: 200px;
    }
    
    .front-header-right {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .front-header {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
    }
    
    .front-header-left {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
    }
    
    .front-header-center {
        width: 100%;
        order: 3;
        padding: 10px 0;
    }
    
    .search-section {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        order: 2;
    }
    
    .front-header-right {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
        order: 4;
    }
}